package com.fsy.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName member
 */
@TableName(value ="member")
@Data
public class Member implements Serializable {

    @TableField(exist = false)  //非数据库字段加
    private  String mt_name;

    @TableField(exist = false)  //非数据库字段加
    private Integer page;

    @TableField(exist = false)  //非数据库字段加
    private Integer limit;

    @TableField(exist = false)  //非数据库字段加
    private Integer offset;  //分页偏移量 = (page-1) * limit
    /**
     * 
     */
    @TableId(value = "mid", type = IdType.AUTO)
    private Integer mid;

    /**
     * 
     */
    @TableField(value = "cardno")
    private String cardno;

    /**
     * 
     */
    @TableField(value = "degree")
    private String degree;

    /**
     * 
     */
    @TableField(value = "department")
    private String department;

    /**
     * 
     */
    @TableField(value = "mname")
    private String mname;

    /**
     * 
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 
     */
    @TableField(value = "specialty")
    private String specialty;

    /**
     * 
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 
     */
    @TableField(value = "mt_id")
    private Integer mt_id;

    /**
     * 
     */
    @TableField(value = "password")
    private String password;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}